#include "lzlcontent.h"

lzlcontent::lzlcontent(QWidget *parent)
    : QFrame(parent)
{
    stack=new QStackedWidget(this);
    stack->setFrameStyle(QFrame::Panel|QFrame::Raised);
    baseinfo=new lzlbaseinfo();
    contact=new lzlcontact();
    detail=new lzldetail();
    stack->addWidget(baseinfo);
    stack->addWidget(contact);
    stack->addWidget(detail);
    xgbtn=new QPushButton(tr("修改"));
    qxbtn=new QPushButton(tr("关闭"));
    QHBoxLayout *BtnLayout=new QHBoxLayout;
    BtnLayout->addStretch(1);
    BtnLayout->addWidget(xgbtn);
    BtnLayout->addWidget(qxbtn);
    QVBoxLayout *RightLayout=new QVBoxLayout(this);
    RightLayout->setMargin(10);
    RightLayout->setSpacing(6);
    RightLayout->addWidget(stack);
    RightLayout->addLayout(BtnLayout);
}

lzlcontent::~lzlcontent()
{

}
